@model Icms.WebUI.Dto.CourtInput
@using (Html.BeginForm())
{    
    <div class='ia'>
        @Html.EditorFor(o => o.CourtTypeId)
        @Html.HiddenFor(o => o.Id)
        <div class="efield">
            <div class="elabel">
                Instanta ierarhic superioara:
            </div>
            <div class="einput">
                @Html.AjaxDropdownFor(o => o.ParentId, controller: "CourtAjaxDropdown", parentId: "CourtTypeId", data: new Dictionary<string, string> { { "Id", "self" } })</div>
        </div>
        @Html.EditorFor(o => o.Number)
        @Html.EditorFor(o => o.Idno)
        @Html.EditorFor(o => o.Title)
    </div>
    <div class='ia'>
        @Html.EditorFor(o => o.RegionId)
        @Html.EditorFor(o => o.Location)
        @Html.EditorFor(o => o.Street)
        @Html.EditorFor(o => o.Home)
        @Html.EditorFor(o => o.Apartment)
        @Html.EditorFor(o => o.Phone)
        @Html.EditorFor(o => o.Fax)
        @Html.EditorFor(o => o.Email)
    </div>
}